This page will take you through setting up the additional requirements for running a Gateway in On-Chain mode including finding an RPC URL, and creating an Ethereum account and keystore.
Livepeer is currently deployed on the Arbitrum L2 network (Arbitrum One).In order to interact with the Livepeer smart contracts you will need to connect to an Arbitrum RPC.If you plan to run your Gateway in On-Chain mode, you will need:
An Ethereum account with funds to pay for transaction fees
An Ethereum RPC URL to connect to the Arbitrum network where Livepeer is deployed
Never share your keystore files - they contain your encrypted private keys
Use strong passwords for keystore encryption - Back up your keystore
securely - The ethPassword only protects the keystore file - your actual
private key is stored encrypted within the keystore - Never share your wallet
private key. In case of accidental public exposure - remove any funds &
change your wallet immediately
Livepeer will automatically create a new wallet & keystore for you if you do not provide an existing wallet address after first installing your Gateway software.The software will detect no keystore exists for that address and ask you to:
Enter your private key
Create an account address (wallet) -ethAcctAddr
Set a password for the keystore encryption -ethPassword
Create the keystore file -ethKeystorePath
Use the below command to quickstart an on-chain gateway with a new wallet and auto-generate all required parameters.See RPC URL for instructions on finding or using an alternative Arbitrum RPC URL.
Full Guide with alternative options for setting up an on-chain Gateway
Show REMOVE ME: Old Stuff
An Ethereum private key is a 256-bit random integer.
For user presentation and interoperability across most software,
this number is nearly always represented as a 64-character hexadecimal string
Create Livepeer Gateway ETH accountIn this step we need to start the Gateway in order to create an Ethereum
account.
Copy
Ask AI
docker compose run -it gateway
When prompted for the ETH password, enter a strong password to secure your
Ethereum account. This password is used to decrypt and access the ETH private
key.
Make sure to never share or lose access to either the password or
the keystore file.
Keep this password handy, we will use it in the following steps.
After you see the message that the Ethereum account has been unlocked, CTRL+C to
exit the Livepeer docker instance.Using the previously created ETH password, create the eth-secret file